<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>

  <body>
    <script>
      // const day = "8-1";
      const day = prompt("day?");
      if (day === "1-1") {
        console.log("元旦");
      } else if (day === "8-15") {
        console.log("中秋");
      } else if (day === "10-1") {
        console.log("国庆");
      } else if (day === "5-1") {
        console.log("五一");
      } else {
        console.log("...");
      }
    </script>
  </body>
</html>
